export const practiceActionType = {
	getters:{
		getViewAnalysis: "practice/getViewAnalysis",
	},
	mutations:{
		setViewAnalysis: "practice/setViewAnalysis",
	}
}

export default {
	namespaced: false,
	state: {
		viewAnalysis: false, //刷题，是否查看解析
	},
	getters: {
		[practiceActionType.getters.getViewAnalysis]: state => state.viewAnalysis,
	},
	mutations: {
		[practiceActionType.mutations.setViewAnalysis]: (state, data) => {
			state.viewAnalysis = data
		},
	}
}